<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    {% load static %}
    <style type="text/css">
        .back{
        width: 100%;
        position: absolute;
        z-index: -1;
        opacity: 0.7;
        }
    </style>


</head>
<body>
<div> 
    <a href="admindata">管理数据</a><br>
    <image class='back' src="{% static 'bg.png' %}" width="100%" height="100%"></image>
    <span>提示：</span><br><span>输入句子</span>
    <form action="" method="post">
        {% csrf_token %}
        <input type="text" name="q">
        <input type="submit" value="提交">
    </form>
    
    <span>此系统应用于对文本的情绪分析。</span><br><span>此系统中情绪共有六类，分别为害怕、惊讶、伤心、厌恶、生气、高兴</span>
</div>

    <p>{{ rlt }}</p>
    {% load static %}
</body>
</html>